home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr53 / pctv4n_1.zip / DBTYPES.H < prev    next >
C/C++ Source or Header  |  1993-06-10  |  874b  |  47 lines

  1. /**************************************************
  2. *
  3. * FILE NAME:  dbtypes.h    TITLE: QE database types
  4. *
  5. * AUTHOR:       Ken North
  6. *
  7. * SYNOPSIS: data type definitions 
  8. *
  9. **************************************************/
  10.  
  11. #ifndef __DBTYPES_H
  12. #define __DBTYPES_H
  13.  
  14.  
  15. typedef struct ConnectionInfo
  16. {
  17.     char    Driver[31];
  18.     char    Userid[31];
  19.     char    Password[9];
  20.     char    Server[31];
  21.     char    DataBase[31];
  22.     char    DictPath[80];
  23.     char    DataPath[80];
  24.     POINTER    cstr;
  25.     HDBC     hdbc;
  26. } * CONNECTION;
  27.  
  28. typedef struct ViewInfo
  29. {
  30.     int    BufferLen;
  31.     int    RowLength;
  32.     int    recndx;
  33.     int    RecordLength;
  34.     int    FetchOption;
  35.     int    ColCount;
  36.     int    ASCIIFlag; /* fetch data separator     */
  37.     int    Spacing;   /* fetch display spacing */
  38.  
  39.                 /* records desired from fetch */
  40.     long ReceiveCount;
  41.                 /* records returned by fetch  */
  42.     long RecordsGotten;
  43. } * VIEWINFO;
  44.  
  45. #endif
  46.  
  47.